const curvesData = [
  {"from": "POS1", "to": "P5"},
  {"from": "X1", "to": "X5"},
  {"from": "Y1", "to": "P4"},
  {"from": "Y25", "to": "X20"},
  {"from": "Y5", "to": "R1"},
  {"from": "Z5", "to": "Z10"},
  {"from": "X10", "to": "R3"},
  {"from": "Y10", "to": "R7"},
  {"from": "X15", "to": "R13"},
  {"from": "Y15", "to": "R15"},
  {"from": "Z15", "to": "Z20"},
  {"from": "Y20", "to": "R19"},
  {"from": "R2", "to": "PB4"},
  {"from": "R4", "to": "R5"},
  {"from": "R6", "to": "PB5"},
  {"from": "R8", "to": "PB6"},
  {"from": "R14", "to": "PB1"},
  {"from": "R16", "to": "R17"},
  {"from": "R18", "to": "PB2"},
  {"from": "R20", "to": "PB3"},
  {"from": "X25", "to": "X30"},
  {"from": "Y30", "to": "C27"},
  {"from": "C28", "to": "GND1"},
  {"from": "Z25", "to": "GEN1"},
  {"from": "Z30", "to": "GEN3"},
  {"from": "Z1", "to": "GEN2"},
  {"from": "S10", "to": "GEN4"},
  {"from": "S11", "to": "GND5"},
];